/**
 * Copyright (c) 2009 blurredVision
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
 * associated documentation files (the "Software"), to deal in the Software without restriction, 
 * including without limitation the rights to use, copy, modify, merge, publish, distribute, 
 * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is 
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all copies or 
 * substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT 
 * NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 
 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT 
 * OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
#include "StdAfx.h"
#include "../DefaultSettings.h"

namespace gui {

math::Vector4 DefaultSettings::s_vTextColor(1.0f, 1.0f, 1.0f, 1.0f);
math::Vector4 DefaultSettings::s_vBorderColor(.8f, .8f, .8f, .9f);
math::Vector4 DefaultSettings::s_vBackColor(.5f,.5f,.5f,.7f);
math::Vector4 DefaultSettings::s_vHighlightedBackColor(.65f, .65f, .65f, .9f);
math::Vector4 DefaultSettings::s_vHighlightedTextColor(1.0f, 1.0f, 1.0f, 1.0f);
math::Vector4 DefaultSettings::s_vHighlightedBorderColor(.8f, .8f, .8f, .9f);
math::Vector4 DefaultSettings::s_vSelectedBackColor(.8f, .8f, .8f, .9f);
math::Vector4 DefaultSettings::s_vSelectedTextColor(0.0f, 0.0f, 0.0f, 1.0f);
math::Vector4 DefaultSettings::s_vSelectedBorderColor(.8f, .8f, .8f, .9f);

DefaultSettings::DefaultSettings(void)
{
}

DefaultSettings::~DefaultSettings(void)
{
}

bool DefaultSettings::readStyle(const std::string &stylefile)
{
	return false;
}

void DefaultSettings::setBorderColor(const math::Vector4 &color)
{
	s_vBorderColor = color;
}

void DefaultSettings::setBorderColor(float r, float g, float b, float a)
{
	setBorderColor(math::Vector4(r, g, b, a));
}

void DefaultSettings::setTextColor(const math::Vector4 &color)
{
	s_vTextColor = color;
}

void DefaultSettings::setTextColor(float r, float g, float b, float a)
{
	setTextColor(math::Vector4(r, g, b, a));
}

void DefaultSettings::setBackColor(const math::Vector4 &color)
{
	s_vBackColor = color;
}
void DefaultSettings::setBackColor(float r, float g, float b, float a)
{
	setBackColor(math::Vector4(r, g, b, a));
}

void DefaultSettings::setHighlightedBackColor(const math::Vector4 &color)
{
	s_vHighlightedBackColor = color;
}

void DefaultSettings::setHighlightedBackColor(float r, float g, float b, float a)
{
	s_vHighlightedBackColor = math::Vector4(r, g, b, a);
}

void DefaultSettings::setHighlightedTextColor(const math::Vector4 &color)
{
	s_vHighlightedTextColor = color;
}

void DefaultSettings::setHighlightedTextColor(float r, float g, float b, float a)
{
	s_vHighlightedTextColor = math::Vector4(r, g, b, a);
}

void DefaultSettings::setHighlightedBorderColor(const math::Vector4 &color)
{
	s_vHighlightedBorderColor = color;
}

void DefaultSettings::setHighlightedBorderColor(float r, float g, float b, float a)
{
	s_vHighlightedBorderColor = math::Vector4(r, g, b, a);
}

void DefaultSettings::setSelectedTextColor(const math::Vector4 &color)
{
	s_vSelectedTextColor = color;
}

void DefaultSettings::setSelectedTextColor(float r, float g, float b, float a)
{
	s_vSelectedTextColor = math::Vector4(r, g, b, a);
}

void DefaultSettings::setSelectedBackColor(const math::Vector4 &color)
{
	s_vSelectedBackColor = color;
}

void DefaultSettings::setSelectedBackColor(float r, float g, float b, float a)
{
	s_vSelectedBackColor = math::Vector4(r, g, b, a);
}

const math::Vector4& DefaultSettings::getTextColor() 
{
	return s_vTextColor;
}

const math::Vector4& DefaultSettings::getBackColor() 
{
	return s_vBackColor;
}

const math::Vector4& DefaultSettings::getBorderColor() 
{
	return s_vBorderColor;
}

const math::Vector4& DefaultSettings::getHighlightedTextColor() 
{
	return s_vHighlightedTextColor;
}

const math::Vector4& DefaultSettings::getHighlightedBackColor() 
{
	return s_vHighlightedBackColor;
}

const math::Vector4& DefaultSettings::getHighlightedBorderColor() 
{
	return s_vHighlightedBorderColor;
}

const math::Vector4& DefaultSettings::getSelectedTextColor() 
{
	return s_vSelectedTextColor;
}

const math::Vector4& DefaultSettings::getSelectedBackColor() 
{
	return s_vSelectedBackColor;
}

const math::Vector4& DefaultSettings::getSelectedBorderColor() 
{
	return s_vSelectedBorderColor;
}

} // namespace 
